﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FDStudio.Core.Entities.Enums
{
    /*
     CreatedOn: 2018-01-27
     CreatedBy: Jackie Lee(天宇遊龍)
     */
    /// <summary>
    /// 数据库连接配置
    /// </summary>
    /// <summary>
    /// 数据库类型
    /// </summary>
    public enum DatabaseType : byte
    {
        SqlServer = 0,
        MySql,
        Oracle,
        SqlLite,
        MongoDB,
        Redis,
    }

    /// <summary>
    /// 读写类型
    /// </summary>
    public enum DatabaseOperType : byte
    {
        /// <summary>
        /// 读写
        /// </summary>
        ReadWrite = 0,
        /// <summary>
        /// 只读
        /// </summary>
        ReadOnly,
        /// <summary>
        /// 只写
        /// </summary>
        WriteOnly
    }

}
